#ifndef TIMER_H_
#define TIMER_H_

#define DEFAULT_MS 30000

struct CPUStr;
typedef struct CPUStr* CPU_TIMER;

typedef struct {
	int ms;
	void (*function_ptr)();
	CPU_TIMER cpu;
} TimerStr;

typedef TimerStr * Timer;

Timer initializeTimer(void *, CPU_TIMER cpu);
void startTimer(Timer);

#endif /* TIMER_H_ */
